package org.common.utils.generatortable.event.entity;

import org.common.utils.generatortable.GeneratorTableManager;

import javax.swing.*;

/**
 * 生成事件
 * @author zhouzhibing
 * @date 2025/2/25
 */
public class GeneratorEvent {

    /**
     * 表名
     */
    private String tableName;

    public GeneratorEvent() {
        JList<String> jList = GeneratorTableManager.getInstance().getComponent(JList.class, "list1");
        this.tableName = jList.getSelectedValue();
    }


    public String getTableName() {
        return tableName;
    }
}
